import random

n = random.randint(0, 8)
print(n)